
# print( "############欢迎使用用户检测系统#############")
# list1 = [("root","123456"),("admin","admin")]
# username = input("请输入你的用户名：")
# password = input("请输入你的密码")

# singer_song = {True : "痴心绝对","zhang":"adiao","wang":"putong"}
# print(singer_song)
# print(singer_song[True])
# print(singer_song.get(True,0))

# def dict_test(x,y):
#     print(f"x is {x},y is {y}")
#
# a = {"x":"xxxxx","y":"yyyyy"}
# dict_test(x="123",y="456")
# dict_test(**a)


# b = [3,4]
# c = ('a','b')
# dict_test((1,2)
# dict_test(*b)
# dict_test(*c)
# company = {'BOSS':'唐僧','CTO':'悟空','CFO':'八戒','搬砖':'沙僧','苦力':'白龙马'}
# print(company.get('CTO',0))
# print(company.get('BOSS',0))
# for i in company:
#     print(f"{i}是{company.get(i,0)}")
# str = input("请输入你需要判断的：")
# if str in company.values():
#     print("是")
# else:
#     print("不存在")

# while True :
#     print('欢迎使用用户检测系统')
#     lst = {'root':'123456','admin':'admin'}
#     username = input("请输入用户名")
#     password = input("请输入密码")
#     if username in lst:
#         if password == lst[username]:
#             print("登录成功")
#         else:
#             print("密码错误")
#     else:
#         print("用户不存在")
#     str = input("请输入quit退出或者输入任意值继续")
#     if str == "quit":
#         break

#集合：set

#可迭代对象：字符串，列表，元组，集合，字典·
# str = "asdfghjklq"
# a = list(str)
# b = tuple(a)
# print(b)

# s = set([3,5,9,10])
#
# t = set("hello")
# print(s)
# print(t)
# str = "swqiohwidksdkwjdkaldadioeodjqodpq"
# set1 = set(str)
# for i in set1:
#     print(f"{i}出现了{str.count(i)}",end=" ")







